<!doctype html>
<html><head>
    <meta charset="UTF-8">
    <title>模型配置</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="icon" type="image/x-icon" href="/static/img/favicon.ico">
	<!-- jQuery-->
	<script type="text/javascript" src="/static/plugins/jquery/jquery-3.6.0.min.js"></script>

	<!-- layui-->
	<link rel="stylesheet" href="/static/plugins/layui/2.8.4/css/layui.css" media="all">
	<script src="/static/plugins/layui/2.8.4/layui.js" charset="utf-8"></script>

	<!-- 聊天页面样式-->
    <link rel="stylesheet" href="/static/css/eKnow/aiTalk.css" media="all">
	<!-- 选择提示词弹框样式-->
	<link rel="stylesheet" href="/static/css/eKnow/aiTalkChooseTemplate.css" media="all">
	<!-- 整体页面样式，有部分样式覆盖上面聊天页面样式-->
	<link rel="stylesheet" href="/static/css/eKnow/chatSet.css" media="all">
</head>


<body style="">
<!--头部信息部分-->
<div class="top-view">
	<div class="title-main"><span class="title-main-txt">场景配置与调试</span>
        <button type="button" class="layui-btn layui-btn-xs layui-btn-primary choose-btn-title" onclick="chooseSceneOpen()">
            <i class="layui-icon layui-icon-link layui-font-12"></i><span id="senceNameSet">选择场景</span>
        </button>
        <span class="title-main-time" id="sceneMsg" hidden>配置由管理员更新于2023-11-29 14:50:16</span>
        <span class="title-main-time" id="sceneMsgNo" >请选择要进行配置、调试的场景</span>
    </div>
	<div class="top-btn" id="saveBtn" hidden>
		<button type="button" class="layui-btn layui-bg-blue top-btn" onclick="saveSceneSet();">应用当前配置</button>
	</div>
</div>

<div id="box">
    <!--左侧场景配置部分-->
	<div id="left">
        <th:block th:include="eKnowAi/sceneSet/chatAiSetLeft :: chatSetLeftHTML"/>
	</div>

	<!--中间会话页面部分-->
	<div class="page-view" id="center">
		<th:block th:include="eKnowAi/chatPage/talkView :: talkViewHTML"/>
	</div>

    <!--右侧调试信息部分-->
	<div id="right">
        <th:block th:include="eKnowAi/sceneSet/chatAiSetRight :: chatSetRightHTML"/>
    </div>

</div>



<script>
	$('#box').hide();
	var eKnowSceneInfo = null;//左侧配置页场景配置信息
	var chooseAiModelList = [];//选择的ai模型信息
	var chooseLedgeBaseList = [];//选择的知识库配置信息
</script>

<!-- 页面js-->
<!--弹框提示配置js-->
<script type="text/javascript" src="/static/js/eKnowAi/chatSetTipSet.js"></script>
<!--左侧配置js-->
<script type="text/javascript" src="/static/js/eKnowAi/chatSetLeft.js"></script>
<!--中间聊天页面相关js-->
<script type="text/javascript" src="/static/js/eKnowAi/chatSetTalkView.js"></script>
<!--关联场景相关js-->
<script type="text/javascript" src="/static/js/eKnowAi/chatSetChooseScene.js"></script>
<!--关联AI模型相关js-->
<script type="text/javascript" src="/static/js/eKnowAi/chatSetChooseAiModel.js"></script>
<!--关联知识库相关js-->
<script type="text/javascript" src="/static/js/eKnowAi/chatSetChooseLedgeBase.js"></script>
<!--参数验证相关js-->
<script type="text/javascript" src="/static/js/eKnowAi/chatSetCheckSet.js"></script>
<!--聊天页面选择提示词相关js-->
<script type="text/javascript" src="/static/js/eKnowAi/aiTalkChooseTemplate.js"></script>

</body>
</html>
